package gang.org.springframework.framework.core.io.support;

import gang.org.springframework.framework.core.io.GangResourcePatternResolver;
import gang.org.springframework.framework.io.GangResourceLoader;

/**
 * @author gang.chen
 * @Date 2022/9/23 13:17
 */
public abstract class GangResourcePatternUtils {


    public static GangResourcePatternResolver getResourcePatternResolver(GangResourceLoader resourceLoader){

        if (resourceLoader instanceof  GangResourcePatternResolver){

            return (GangResourcePatternResolver) resourceLoader;
        }
        else if (resourceLoader != null){
            //TODO
            return null;
        }
        else {
            //TODO
            return null;
        }
    }
}
